<?php

class Users_LogoutAction extends SrsUsersBaseAction
{
	public function getCredentials()
	{
		return 'users.logout';
	}

	public function executeRead()
	{
		$this->getContext()->getUser()->logout();

		return 'Success';
	}
}